<div id="content">

    <!---弹出框-->
    <div class="buttons">
        <div class="modal hide" id="modal-add-event">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal">×</button>
                <h3>上传栏目</h3>
            </div>

            <form action="{:U('Cate/addCate')}" method="post">
                <div class="modal-body">
                    <p>
                        名称：<input type="text" size="30" name="name"/>
                    </p>
                    <p>
                        排序：<input style="width:10px;" maxlength="1" type="text" size="1" name="order"/>
                    </p>
                    <p>
                        <label class="control-label">显示</label>
                        <div class="controls">
                            <label>
                                <input type="radio" name="is_show" value="0"> 否
                            </label>
                            <label>
                                <input type="radio" name="is_show" value="1" checked="true"> 是
                            </label>
                        </div>
                    </p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn" data-dismiss="modal">Cancel</a>
                    <input type="submit" id="add-event-submit" class="btn btn-primary" value="提交">
                </div>
            </form>
        </div>
    </div>
    <!--弹出框END--->

    <div class="container-fluid">
    <div class="quick-actions_homepage">
        <ul class="quick-actions">
            <li class="bg_lb"> <a id="add-event" data-toggle="modal"  href="#modal-add-event"> <i class="icon-pencil"></i>添加栏目</a> </li>
        </ul>
    </div>
    </div>

    <div class="container-fluid">
        <hr>
        <div class="row-fluid">
            <div class="span12">
                <div class="widget-box">
                    <div class="widget-title"> <span class="icon">
            <input type="checkbox" id="title-checkbox" name="title-checkbox" />
            </span>
                        <h5>Static table with checkboxes</h5>

                    </div>
                    <div class="widget-content nopadding">
                        <table class="table table-bordered table-striped with-check">
                            <thead>
                            <tr>
                                <th><i class="icon-resize-vertical"></i></th>
                                <th>ID</th>
                                <th>排序</th>
                                <th>名称</th>
                                <th>添加时间</th>
                                <th>修改时间</th>
                                <th>操作</th>
                            </tr>
                            </thead>

                            <volist name="data" id="vo">
                                <tbody>
                                    <tr>
                                        <td><input type="checkbox" /></td>
                                        <td>{$vo.id}</td>
                                        <td>{$vo.order}</td>
                                        <td class="center">{$vo.name}</td>
                                        <td>{$vo.add_time}</td>
                                        <td>{$vo.updata_time}</td>
                                        <td>
                                            <a href="{:U('Cate/delCate',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">删除</a>
                                            <a href="{:U('Cate/editCate',array('id'=>$vo['id']))}" class="btn btn-inverse btn-mini">修改</a>
                                        </td>
                                    </tr>
                                </tbody>
                            </volist>
                        </table>
                    </div>
                </div>

            </div>
        </div>
    </div>
</div>
<script src="__PUBLIC__js/fullcalendar.min.js"></script>
<script src="__PUBLIC__js/matrix.calendar.js"></script>
<script src="__PUBLIC__js/matrix.tables.js"></script>